package com.example.bawolf.corejava.string;

import java.util.*;

/**
 * @author zhougf
 * @version 1.0
 * @date 2020/03/06
 */
public class StringTest {

    public static int containsChar(String sourceStr, String checkStr) {
        return sourceStr.indexOf(checkStr);
    }

    public static void main(String[] args) {
        List testList = new ArrayList(8);
        Map map = new HashMap(8);
        Set set = new HashSet(8);
        System.out.println(containsChar("adfadsfdsf", "adc"));
    }
}
